const express = require('express')
const app = express()

app.get('/getUser',(req,res)=>{
   console.log('someone visited the server1');
   console.log('请求来自于：'+req.get('Host'));
   res.send({
      name:'Jace Zhou',
      age:22
   })
})

app.listen('8091',()=>{
   console.log('The server is running at http://127.0.0.1:8091');
})